package com.location.footprint.adapter;

import android.widget.ImageView;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.location.footprint.R;
import com.location.footprint.bean.MapBottomBean;


public class MapBottomAdapter extends BaseQuickAdapter<MapBottomBean, BaseViewHolder> {
    public MapBottomAdapter() {
        super(R.layout.item_map_bottom, null);
    }

    @Override
    protected void convert(BaseViewHolder helper, MapBottomBean item) {
        helper.setText(R.id.text_titile, item.getTitle());
        ImageView imageView = helper.getView(R.id.image);
        imageView.setBackgroundResource(item.getImage());
//        GlideUtils.loadImageViewSize(this.mContext, item.getImage(), Utils.dip2px(65, this.mContext), Utils.dip2px(130, this.mContext), imageView);
    }


}
